package md.mru.transfer.optimized.domain;

import javax.persistence.*;
import java.io.Serializable;

@Entity
@Table(name = "educations", schema = "c##mru_optimized")
public class Education implements Serializable {

    @Id
    @Column(name = "id", unique = true, nullable = false, precision = 10, scale = 0)
    private long id;

    @Column(name = "basic", precision = 1, scale = 0)
    private Boolean basic;

    @Column(name = "institution_name", length = 50)
    private String institutionName;

    @Column(name = "education_study_id")
    private long educationStudy;

    @Column(name = "education_category_id")
    private long educationCategory;

    @Column(name = "education_specialty_id")
    private long educationSpecialty;

    @Column(name = "graduation_year", precision = 10, scale = 0)
    private int graduationYear;

    @Column(name = "folder_id", precision = 10, scale = 0)
    private long folder;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getEducationStudy() {
        return educationStudy;
    }

    public void setEducationStudy(long educationStudy) {
        this.educationStudy = educationStudy;
    }

    public long getEducationCategory() {
        return educationCategory;
    }

    public void setEducationCategory(long educationCategory) {
        this.educationCategory = educationCategory;
    }

    public long getEducationSpecialty() {
        return educationSpecialty;
    }

    public void setEducationSpecialty(long educationSpecialty) {
        this.educationSpecialty = educationSpecialty;
    }

    public String getInstitutionName() {
        return institutionName;
    }

    public void setInstitutionName(String educationInstitution) {
        this.institutionName = educationInstitution;
    }

    public int getGraduationYear() {
        return graduationYear;
    }

    public void setGraduationYear(int graduationYear) {
        this.graduationYear = graduationYear;
    }

    public Boolean getBasic() {
        return basic;
    }

    public void setBasic(Boolean bse) {
        this.basic = bse;
    }

    public long getFolder() {
        return folder;
    }

    public void setFolder(long dosar) {
        this.folder = dosar;
    }
}


